
package com.hlft.ancienttinkers.itemgroup;

import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.api.distmarker.Dist;

import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemGroup;

import com.hlft.ancienttinkers.block.AncientStoneBricksBlock;
import com.hlft.ancienttinkers.AncientTinkersModElements;

@AncientTinkersModElements.ModElement.Tag
public class AncientTinkersItemGroup extends AncientTinkersModElements.ModElement {
	public AncientTinkersItemGroup(AncientTinkersModElements instance) {
		super(instance, 3);
	}

	@Override
	public void initElements() {
		tab = new ItemGroup("tabancient_tinkers") {
			@OnlyIn(Dist.CLIENT)
			@Override
			public ItemStack createIcon() {
				return new ItemStack(AncientStoneBricksBlock.block);
			}

			@OnlyIn(Dist.CLIENT)
			public boolean hasSearchBar() {
				return false;
			}
		};
	}
	public static ItemGroup tab;
}
